<include file="__PUBLIC__/header"/>
<body>
<div class="hd-menu-list">
    <ul>
        <li ><a href="{|addon_url:index}">ip列表</a></li>
        <li class="active"><a href="{|addon_url:add}">添加ip</a></li>
    </ul>
</div>
<form action="{|addon_url:add}" method="post">
<textarea style="width:300px;height:300px;" name="ip"></textarea>
<br>
<label for="did">
	绑定到域名
</label>
<select class="form-control" name="did">
 	<?php foreach ($domain as $key => $d): ?>
 		<option value="{$d.id}">{$d.domain}</option>
 	<?php endforeach ?>
	
</select>
<br>
<input type="submit" name="submit" value="添加" class="hd-btn hd-btn-primary"> 
</form>
</body>
</html>